<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
	.colok{
		width:100%;
		height:50px;
		background:#000;
		color:#0f0;
		font-weight:bold;
		border-radius:50px;
		text-align:center;
		line-height:50px;
		font-size:30px;

	}
	</style>
</head>
<body>
	<div class="colok">
	<span>提交成功，再过<span id='sid'>3</span>秒钟，自动跳转到百度页面</span>
	
	</div>
</body>
<script type="text/javascript">

sidobj=document.getElementById('sid');
s=3;
sobj=setInterval(function(){
	sidobj.innerHTML=--s;
	if(s==0){
		location='http://www.baidu.com';
	}
},1000);
	

</script>

</html>